package com.example.demo.ErrorController;

public class MyApplicationException extends Exception{
    public MyApplicationException(String message) {
        super(message);
    }

    //重寫自定義異常的信息
    @Override
    public String getMessage() {
        return super.getMessage();
    }
}
